STEP 4: Let's move our UFO to start at Mars.

The location in the command is a coordinate pair in standard form: (x, y).

  • Change the x-coordinate (the first number) to -200.
  • Change the y-coordinate (the second number) to -200.


To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("space") sprite = codesters.Sprite("ufo") sprite.set_size(0.4) sprite.go_to(-100, -50)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)